package test02.function.demo02;

/**
 * @author ZJL
 * @date 2025-04-02
 */
public class MainTest {
    public static void main(String[] args) {
//        InterfaceTest it = ()->{
//            System.out.println("函数式接口抽象方法的实现");
//        };

        InterfaceTest it = (a, b) -> a + b;
        System.out.println(it.test(1, 2));
    }
}
